#ifndef __ENCODER_H
#define __ENCODER_H
#include "stm32f10x.h"

extern int16_t Encoder_Count1;
extern int16_t Encoder_Count2;

extern int16_t Encoder_Speed1;
extern int16_t Encoder_Speed2;

void Encoder_Init(void);
int16_t Encoder_GetCount(uint8_t n);
int16_t Encoder_GetSpeed(uint8_t n);

#endif
